package com.sunsy.authserver.beans.vo;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.io.Serializable;
import lombok.Data;

/**
 * (AppClient)表展示类
 *
 * @author makejava
 * @since 2021-07-20 14:34:11
 */
@Data
public class AppClientVO implements Serializable{

  private static final long serialVersionUID = 461199899197626404L;
    
      private Long id;

    
      private String appKey;

    
      private String appSecret;

    
      private String redirectUrl;

    
      private String appName;

    
      private Object allUser;

    
      private String createdBy;

    
      private Date createdTime;

    
      private String updatedBy;

    
      private Date updatedTime;

    private String description;

    public String getCreatedTime() {
        return this.createdTime!=null  ? new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.createdTime):"-";
    }

    public String getUpdatedTime() {
        return this.updatedTime!=null  ? new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.updatedTime):"-";
    }
}